#include<stdio.h>
int main()
{
	int arr1[3] = { 1,2,3 };
	int arr2[3] = {4,5,6};
	for (int i = 0; i < 3; i++)
	{
		int swap = arr1[i];
		arr1[i] = arr2[i];
		arr2[i] = swap;
	}
	
	for (int o = 0; o < 3; o++)
	{
		printf("%d", arr1[o]);
	}
	printf("\n");

	for (int p = 0; p< 3; p++)
	{
		printf("%d", arr2[p]);
	}

	return 0;
}